package com.ysqcould.message.domain;


import com.ysqcould.common.annotation.Excel;
import com.ysqcould.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 协会意见反馈和资料变更对象 t_datum_change
 * 
 * @author ruoyi
 * @date 2022-06-30
 */
public class DatumChange extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 协会id */
    @Excel(name = "协会id")
    private Long asId;

    /** 用户id */
    @Excel(name = "用户id")
    private Long userId;

    /** 类型：1协会意见，2资料变更 */
    @Excel(name = "类型：1协会意见，2资料变更")
    private Long type;

    /** 意见内容 */
    @Excel(name = "意见内容")
    private String content;

    /** 意见附图地址 */
    @Excel(name = "意见附图地址")
    private String pcUrl;

    /** 是否已处理（0未处理，1已处理） */
    @Excel(name = "是否已处理", readConverterExp = "0=未处理，1已处理")
    private Long checked;

    /** 回复内容 */
    @Excel(name = "回复内容")
    private String restoreContent;

    /** 是否已回复（0未回复，1已回复） */
    @Excel(name = "是否已回复", readConverterExp = "0=未回复，1已回复")
    private Long restoreStatus;

    /** 状态（字典 0正常 1冻结 2删除） */
    @Excel(name = "状态", readConverterExp = "字=典,0=正常,1=冻结,2=删除")
    private Long status;

    /** 是否查看过 (0 否 2 是) */
    @Excel(name = "是否查看过 (0 否 2 是)")
    private Long isSee;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setAsId(Long asId) 
    {
        this.asId = asId;
    }

    public Long getAsId() 
    {
        return asId;
    }
    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }
    public void setType(Long type) 
    {
        this.type = type;
    }

    public Long getType() 
    {
        return type;
    }
    public void setContent(String content) 
    {
        this.content = content;
    }

    public String getContent() 
    {
        return content;
    }
    public void setPcUrl(String pcUrl) 
    {
        this.pcUrl = pcUrl;
    }

    public String getPcUrl() 
    {
        return pcUrl;
    }
    public void setChecked(Long checked) 
    {
        this.checked = checked;
    }

    public Long getChecked() 
    {
        return checked;
    }
    public void setRestoreContent(String restoreContent) 
    {
        this.restoreContent = restoreContent;
    }

    public String getRestoreContent() 
    {
        return restoreContent;
    }
    public void setRestoreStatus(Long restoreStatus) 
    {
        this.restoreStatus = restoreStatus;
    }

    public Long getRestoreStatus() 
    {
        return restoreStatus;
    }
    public void setStatus(Long status) 
    {
        this.status = status;
    }

    public Long getStatus() 
    {
        return status;
    }
    public void setIsSee(Long isSee) 
    {
        this.isSee = isSee;
    }

    public Long getIsSee() 
    {
        return isSee;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("asId", getAsId())
            .append("userId", getUserId())
            .append("type", getType())
            .append("content", getContent())
            .append("pcUrl", getPcUrl())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("checked", getChecked())
            .append("restoreContent", getRestoreContent())
            .append("restoreStatus", getRestoreStatus())
            .append("status", getStatus())
            .append("isSee", getIsSee())
            .toString();
    }
}
